package Java攻略._1_基础知识._2_方法引用;

import java.util.stream.Stream;

public class _11_使用方法引用在String上调用length方法 {

    public static void main(String[] args) {
        Stream.of("this","is","a","stream","of","strings")
                .map(String::length)
                .forEach(System.out::println);
    }
}
